package com.icss.service;


import com.icss.domian.QueryVO;

import javax.transaction.Transactional;
import java.util.List;

public interface UserService {

    List<QueryVO> findAllUserName();

    List<QueryVO> findRecordLicenseByUserId(Integer UserId);
    List<QueryVO> findAllUserIllega();


    @Transactional
    void  updateUserPhoneByUserID(Integer UserId,String phone);

    @Transactional
    void  updateIllegalCount(Integer userId);

    @Transactional
    void  updateUnsettledIllegalCount(Integer illegalRecordId);

    @Transactional
    void  updateIllegalCountAndSocre(Integer userId, Integer illegalItemScore );

}
